package com.tool_stdy.Model;

public class TeacherBean extends PersonBean {

	private int id;
	
	private int classNo;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getClassNo() {
		return classNo;
	}
	public void setClassNo(int classNo) {
		this.classNo = classNo;
	}
	
	private void sayHello(){
		System.out.println("Hello");
	}
}
